package player;

public class Player {
    private static int sum;
    private Player(){}
    public static Player create(){
        sum = 1;
        Player player = null;
        while(sum<=11)
        {
            player = new Player();
            System.out.println("创建了"+sum+"个对象");
            sum++;
        }
        System.out.println("创建人数已满");
        return player;
    }

}
